@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Roboto+Slab&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Roboto+Slab&display=swap');
@font-face {
    font-family: Behrens KursivC;
    src: url('./fonts/Behrens\ KursivC/BehrensKursivC.ttf');
}
* {
    margin: 0;
    padding: 0;
}
body {
    background-color: #f0e5cc;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;

}


.wrapper {
    width: 1200px;
    margin: 50px auto;
}

header {
    position: relative;
}

header .logo{
    width: 100px;
    margin-top: -50px;
    padding: 0;
    color: #f0e5cc;
    transition: all 1s;
}

header::before{
    
    font-family: Behrens KursivC;
    content: "Любимые моменты";
    position: absolute;
    
    left: 90px;
    color: #474645;
    
    font-size: 25px;
    font-weight: 300;
}
header::before:hover{
    color: black;
}

header ul.nav{
    display: flex;
    float: right;
    list-style: none;
}

header ul.nav li {
    
    margin-left: 25px;
    cursor: pointer;
    transition: opacity 500ms ease-in;
}

header ul.nav li:hover {
    opacity: 0.5;
}


a{
    text-decoration: none;
    color: black;
}

header .logo:hover{
    opacity: 0.7;
}

header .presentation{
    border-radius: 8%;
    margin: 10px 0;
    background: url('img/presentation.jpg');
    width: 100%;
    height: 700px;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    background-blend-mode: multiply;
    background-size: cover;
}

header .presentation::after{
    position: absolute;
    content: "Лучшие моменты передаются фотографией";
    top: 250px;
    left: 60px;
    color: #fff;
    width: 200px;
    font-size: 40px;
    font-weight: 600;
}



.our_job {
    border-radius: 3%;
    
    height: 900px;
    
    margin-top: 50px;
    text-align: center;
    font-size: 45px;
}

.active {
    background-color: red;
    width: 70px;
    height: 1px;

}
.home.active{
    margin-top: 25px;
    position: absolute;
    left: 69%;
    
}
.contacts_open.active{
    width: 75px;
    margin-top: 25px;
    position: absolute;
    left: 78%;
}

.service.active{
    width: 60px;
    position: absolute;
    margin-top: 25px;
    left: 87.5%;
}


.about_us.active{
    width: 55px;
    position: absolute;
    margin-top: 25px;
    left: 95.3%;

}


.slider{
    overflow: hidden;
    margin: 30px auto;
    
}

.slider img{
    border-radius: 2%;
    height: 800px;
    width: 1200px;
    
}

#slider-line{
    display: flex;
    position: relative;
    height: 800px;
    width: 4800px;
    left: 0;
    transition: all ease 1s;
    
}

.slider-prev{
    background-color: black;
    transition: all 1s ease-in;
}
.slider-prev:hover{
    background-color: white;
}



.slider-next{
    background: white;
    transition: all 1s ease-in;
}

.slider-next:hover{
    background: black
}
.feedback{
    width: 1200px;
    margin-top: 50px;
    text-align: center;
    font-size: 45px;
    
}
.feedback_img{
    width: 1200px;
    margin-top: 50px;
    transition: all 0.5s ease-in-out;
    border-radius: 2%;
}

.feedback_container{
    position: relative;
    cursor: pointer;
}

.feedback_container > img {
    width: 100%;
    height: 100%;
    opacity: 0.65;

}

.feedback_container > img:hover{
    opacity: 0.82;
    border-radius: 4%;
    
}

/* .feedback_container::after{
    position: absolute;
    content: "Нам доверяют";
    top: 280px;
    left: 60px;
    color: #fff;
    width: 300px;
    font-size: 50px;
    font-weight: 700;
} */

.trust_us {
    padding: 0;
    margin: 0;
    color: white;
    text-align: center;
    width: 250px;
    position: absolute;
    top: 310px;
    left: 5%;
    font-size: 49px;
    transition: 5s ease;
    font-weight: 400;
    background: none;
    opacity: 0.83;
    transition: 0.5s all ease;
    z-index: 1000;
    
}


.trust_us:hover{
    opacity: 1;
    font-size: 120px;
    
    

     
}

.scroller{
    height: 300px;
    
    color: rgb(251, 251, 251);
    position: absolute;
    bottom: 210px;
    left: 150px;
}

.feedback_div{
    margin-top: 25px;
    width: 1200px;
    height: 1300px;
    /* background: #f0e5cc; */
    background: #f0e5cc;
    border-radius: 3%;
    position: relative;
}

.feedback_item{
    width: 1150px;
    height: 1250px;
    left: 25px;
    background: #f0e5cc;
    position: absolute;
    top: 25px;
    border-radius: 3%;
}



.item {
    width: 400px;
    height: 550px;
    border-radius: 3%;
    background-color: rgb(184, 180, 184);
    transition: all 1s ease;
}

.item:hover{
    background: #f0e5cc;
}
.item.first{
    position: absolute;
    left: 750px;
    top: 40px;
}
.item.second{
    position: absolute;
    top: 40px;
    
}
.item.third{
    position: absolute;
    bottom: 50px;
    left: 600px;
}
.item.fourth{
    position: absolute;
    bottom: 50px;
    left: 170px;
}

.item p.family_text{
    width: 150px;
    margin-left: 70px;
}

.family_image{
    margin-top: 10px;
    width: 240px;
    border-radius: 100%;
    transition: all 0.5s ease;
    
}

.family_image:hover{
    transform: scale(1.07);
}
.main_nav{
    position: absolute;
    z-index: 3;
    left: 900px;
    top: 590px;
    

}

.main_nav h2 {
    cursor: pointer;
    font-weight: 600;
    margin-top: 20px;
    opacity: 0.6;
    transition: all 1s ease;
    
}

.main_nav h2:hover{
    opacity: 1;
    
}
.description{
    
    margin-top: 15px;
    font-size: 22px;
    transition: all 1s ease-in;
    
    font-weight: 500;
}





button{
    position: relative;
    bottom: 80px;
    width: 20px;
    height: 20px;
    border: 0px;
    margin-left: 10px;
    background-color: #fff;
    border-radius: 90%;
    transition: all 2s ease-in;
}
button:hover{
    background-color: rgb(53, 49, 49);
}

footer {
    text-align: center;
    margin-top: 100px;
}

